package cn.dubito.springboot.learning.enums;

import lombok.Getter;

/**
 * @author liliang
 * @description:
 * @date 2018/1/11.
 */
@Getter
public enum PayStatusEnum {
    /**
     * 订单未支付
     */
    WAIT(0, "未支付"),
    /**
     * 订单支付成功
     */
    SUCCESS(1, "支付成功");

    private Integer code;

    private String message;

    PayStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
